\hypertarget{servo_8h}{}\section{servo.\+h File Reference}
\label{servo_8h}\index{servo.\+h@{servo.\+h}}
{\ttfamily \#include \char`\"{}ch.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hw.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}conf\+\_\+general.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}stm32f4xx\+\_\+conf.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct_s_e_r_v_o}{S\+E\+R\+V\+O}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{servo_8h_a11643f271076024c395a93800b3d9546}{\+\_\+\+B\+V}(bit)~(1 $<$$<$ (bit))
\item 
\#define \hyperlink{servo_8h_a3acffbd305ee72dcd4593c0d8af64a4f}{M\+I\+N}(a,  b)~(((a)$<$(b))?(a)\+:(b))
\item 
\#define \hyperlink{servo_8h_afa99ec4acc4ecb2dc3c2d05da15d0e3f}{M\+A\+X}(a,  b)~(((a)$>$(b))?(a)\+:(b))
\item 
\#define \hyperlink{servo_8h_a5b4b344e1037b7fa2fb65cb9f23b1e31}{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}~\hyperlink{hw__victor__r1a_8h_a8fbbc12019e6b0ef94174d1d600a8276}{H\+W\+\_\+\+S\+E\+R\+V\+O\+\_\+\+N\+U\+M}
\item 
\#define \hyperlink{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D}~1000000\+L
\item 
\#define \hyperlink{servo_8h_a35b88eb1fce676679825b9738a67272c}{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E}~\hyperlink{conf__general_8h_aceae775b605ad97b91d11c48efa165b7}{S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+I\+N\+\_\+\+U\+S}
\item 
\#define \hyperlink{servo_8h_af038a616d759732cc1d2be0fbc3cb94b}{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N}~(\hyperlink{conf__general_8h_aab1ccffb4f17970e303970fcb96b2020}{S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+A\+X\+\_\+\+U\+S} -\/ \hyperlink{conf__general_8h_aceae775b605ad97b91d11c48efa165b7}{S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+I\+N\+\_\+\+U\+S})
\item 
\#define \hyperlink{servo_8h_af88ff96914d3f073b65045084d661c4e}{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}~(1000000 / \hyperlink{conf__general_8h_a8ce08a27ce10ba22bc9ef7b3be74d277}{S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+R\+A\+T\+E\+\_\+\+H\+Z})
\item 
\#define \hyperlink{servo_8h_a376a42bdd5ff453c7aec5fe1bc1f10b9}{S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T}~(\hyperlink{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} / (1000000\+L / S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E))
\item 
\#define \hyperlink{servo_8h_a39c1c90ff1d3117fdd72af4ffa69c1c1}{S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R}~((\hyperlink{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} + ((1000000\+L / S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N) $\ast$ 256\+L) -\/ 1\+L) / ((1000000\+L / S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N) $\ast$ 256\+L))
\item 
\#define \hyperlink{servo_8h_abfba947e62f306dc1e3bddd52e919c16}{S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R}~(\hyperlink{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} / (1000000\+L / S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N))
\item 
\#define \hyperlink{servo_8h_a4c9e0256311a127b25b74d6e289d35ed}{U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S}~0
\item 
\#define \hyperlink{servo_8h_acd8242192c747155106d69a8dab670a6}{T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E}~0
\item 
\#define \hyperlink{servo_8h_a27e8e86651c3cda4787bc9cce95ca4f1}{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S}(servo)~(\hyperlink{servo_8h_afa99ec4acc4ecb2dc3c2d05da15d0e3f}{M\+A\+X}(\hyperlink{servo_8h_a3acffbd305ee72dcd4593c0d8af64a4f}{M\+I\+N}(servo.\+pos + (signed short)servo.\+offset, 255), 0))
\item 
\#define \hyperlink{servo_8h_a0281665406c147f639401f3eeddd403f}{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R}(servo)~(\hyperlink{servo_8h_afa99ec4acc4ecb2dc3c2d05da15d0e3f}{M\+A\+X}(\hyperlink{servo_8h_a3acffbd305ee72dcd4593c0d8af64a4f}{M\+I\+N}(servo-\/$>$pos + (signed short)servo-\/$>$offset, 255), 0))
\item 
\#define \hyperlink{servo_8h_ad530a6cb51cef3e738eff2aab061d485}{C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L}(ms)~((ms) / (((\hyperlink{servo_8h_a35b88eb1fce676679825b9738a67272c}{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E} + \hyperlink{servo_8h_af038a616d759732cc1d2be0fbc3cb94b}{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N} + \hyperlink{servo_8h_af88ff96914d3f073b65045084d661c4e}{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}) $\ast$ C\+M\+D\+\_\+\+W\+A\+I\+T\+\_\+\+F\+A\+C\+T\+O\+R) / 1000))
\item 
\#define \hyperlink{servo_8h_abe965d86ae54d7d49cf7d38e945afd19}{S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S}~((\hyperlink{servo_8h_a35b88eb1fce676679825b9738a67272c}{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E} + \hyperlink{servo_8h_af038a616d759732cc1d2be0fbc3cb94b}{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N} + \hyperlink{servo_8h_af88ff96914d3f073b65045084d661c4e}{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}) / 1000)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{servo_8h_a32befddd5759ec16ab7964d78e2252c5}{servo\+\_\+init} (void)
\item 
void \hyperlink{servo_8h_a32699c625d5d389a417c90057232ff35}{servo\+\_\+stop\+\_\+driver} (void)
\item 
unsigned char \hyperlink{servo_8h_a2a1bd6b05e410ad098c24e44a2793b88}{servo\+\_\+driver\+\_\+is\+\_\+active} (void)
\item 
void \hyperlink{servo_8h_aff30b246975c4fa2f36ab697e69ca3b8}{servo\+\_\+irq} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
volatile \hyperlink{struct_s_e_r_v_o}{S\+E\+R\+V\+O} \hyperlink{servo_8h_ae5f20028c2a7c8e5db512d342e409d4b}{servos} \mbox{[}\hyperlink{servo_8h_a5b4b344e1037b7fa2fb65cb9f23b1e31}{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}\mbox{]}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{servo_8h_a11643f271076024c395a93800b3d9546}{}\index{servo.\+h@{servo.\+h}!\+\_\+\+B\+V@{\+\_\+\+B\+V}}
\index{\+\_\+\+B\+V@{\+\_\+\+B\+V}!servo.\+h@{servo.\+h}}
\subsubsection[{\+\_\+\+B\+V}]{\setlength{\rightskip}{0pt plus 5cm}\#define \+\_\+\+B\+V(
\begin{DoxyParamCaption}
\item[{}]{bit}
\end{DoxyParamCaption}
)~(1 $<$$<$ (bit))}\label{servo_8h_a11643f271076024c395a93800b3d9546}
\hypertarget{servo_8h_a27e8e86651c3cda4787bc9cce95ca4f1}{}\index{servo.\+h@{servo.\+h}!A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S@{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S}}
\index{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S@{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S}!servo.\+h@{servo.\+h}}
\subsubsection[{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S(
\begin{DoxyParamCaption}
\item[{}]{servo}
\end{DoxyParamCaption}
)~({\bf M\+A\+X}({\bf M\+I\+N}(servo.\+pos + (signed short)servo.\+offset, 255), 0))}\label{servo_8h_a27e8e86651c3cda4787bc9cce95ca4f1}
\hypertarget{servo_8h_a0281665406c147f639401f3eeddd403f}{}\index{servo.\+h@{servo.\+h}!A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R@{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R}}
\index{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R@{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R}!servo.\+h@{servo.\+h}}
\subsubsection[{A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+C\+T\+U\+A\+L\+\_\+\+P\+O\+S\+\_\+\+P\+T\+R(
\begin{DoxyParamCaption}
\item[{}]{servo}
\end{DoxyParamCaption}
)~({\bf M\+A\+X}({\bf M\+I\+N}(servo-\/$>$pos + (signed short)servo-\/$>$offset, 255), 0))}\label{servo_8h_a0281665406c147f639401f3eeddd403f}
\hypertarget{servo_8h_ad530a6cb51cef3e738eff2aab061d485}{}\index{servo.\+h@{servo.\+h}!C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L@{C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L}}
\index{C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L@{C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L}!servo.\+h@{servo.\+h}}
\subsubsection[{C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\+M\+D\+\_\+\+M\+S\+\_\+\+T\+O\+\_\+\+V\+A\+L(
\begin{DoxyParamCaption}
\item[{}]{ms}
\end{DoxyParamCaption}
)~((ms) / ((({\bf S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E} + {\bf S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N} + {\bf S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}) $\ast$ C\+M\+D\+\_\+\+W\+A\+I\+T\+\_\+\+F\+A\+C\+T\+O\+R) / 1000))}\label{servo_8h_ad530a6cb51cef3e738eff2aab061d485}
\hypertarget{servo_8h_afa99ec4acc4ecb2dc3c2d05da15d0e3f}{}\index{servo.\+h@{servo.\+h}!M\+A\+X@{M\+A\+X}}
\index{M\+A\+X@{M\+A\+X}!servo.\+h@{servo.\+h}}
\subsubsection[{M\+A\+X}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\+A\+X(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{b}
\end{DoxyParamCaption}
)~(((a)$>$(b))?(a)\+:(b))}\label{servo_8h_afa99ec4acc4ecb2dc3c2d05da15d0e3f}
\hypertarget{servo_8h_a3acffbd305ee72dcd4593c0d8af64a4f}{}\index{servo.\+h@{servo.\+h}!M\+I\+N@{M\+I\+N}}
\index{M\+I\+N@{M\+I\+N}!servo.\+h@{servo.\+h}}
\subsubsection[{M\+I\+N}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\+I\+N(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{b}
\end{DoxyParamCaption}
)~(((a)$<$(b))?(a)\+:(b))}\label{servo_8h_a3acffbd305ee72dcd4593c0d8af64a4f}
\hypertarget{servo_8h_af88ff96914d3f073b65045084d661c4e}{}\index{servo.\+h@{servo.\+h}!S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N@{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}}
\index{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N@{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N~(1000000 / {\bf S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+R\+A\+T\+E\+\_\+\+H\+Z})}\label{servo_8h_af88ff96914d3f073b65045084d661c4e}
\hypertarget{servo_8h_af038a616d759732cc1d2be0fbc3cb94b}{}\index{servo.\+h@{servo.\+h}!S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N@{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N}}
\index{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N@{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N~({\bf S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+A\+X\+\_\+\+U\+S} -\/ {\bf S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+I\+N\+\_\+\+U\+S})}\label{servo_8h_af038a616d759732cc1d2be0fbc3cb94b}
\hypertarget{servo_8h_a35b88eb1fce676679825b9738a67272c}{}\index{servo.\+h@{servo.\+h}!S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E@{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E}}
\index{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E@{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E~{\bf S\+E\+R\+V\+O\+\_\+\+O\+U\+T\+\_\+\+P\+U\+L\+S\+E\+\_\+\+M\+I\+N\+\_\+\+U\+S}}\label{servo_8h_a35b88eb1fce676679825b9738a67272c}
\hypertarget{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D@{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D}}
\index{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D@{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D~1000000\+L}\label{servo_8h_ace92cc68842421d2dba0bf77f5c06b3e}
\hypertarget{servo_8h_abfba947e62f306dc1e3bddd52e919c16}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R@{S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R}}
\index{S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R@{S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N\+\_\+\+F\+A\+C\+T\+O\+R~({\bf S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} / (1000000\+L / S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N))}\label{servo_8h_abfba947e62f306dc1e3bddd52e919c16}
\hypertarget{servo_8h_a39c1c90ff1d3117fdd72af4ffa69c1c1}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R@{S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R}}
\index{S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R@{S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+\_\+\+C\+P\+U\+\_\+\+F\+A\+C\+T\+O\+R~(({\bf S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} + ((1000000\+L / S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N) $\ast$ 256\+L) -\/ 1\+L) / ((1000000\+L / S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N) $\ast$ 256\+L))}\label{servo_8h_a39c1c90ff1d3117fdd72af4ffa69c1c1}
\hypertarget{servo_8h_abe965d86ae54d7d49cf7d38e945afd19}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S@{S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S}}
\index{S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S@{S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+\_\+\+P\+E\+R\+I\+O\+D\+\_\+\+T\+I\+M\+E\+\_\+\+M\+S~(({\bf S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E} + {\bf S\+\_\+\+P\+U\+L\+S\+E\+L\+E\+N} + {\bf S\+\_\+\+C\+O\+O\+L\+D\+O\+W\+N}) / 1000)}\label{servo_8h_abe965d86ae54d7d49cf7d38e945afd19}
\hypertarget{servo_8h_a376a42bdd5ff453c7aec5fe1bc1f10b9}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T@{S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T}}
\index{S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T@{S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+\_\+\+S\+T\+A\+R\+T\+\_\+\+O\+F\+F\+S\+E\+T~({\bf S\+E\+R\+V\+O\+\_\+\+C\+N\+T\+\_\+\+S\+P\+E\+E\+D} / (1000000\+L / S\+\_\+\+S\+T\+A\+R\+T\+P\+U\+L\+S\+E))}\label{servo_8h_a376a42bdd5ff453c7aec5fe1bc1f10b9}
\hypertarget{servo_8h_a5b4b344e1037b7fa2fb65cb9f23b1e31}{}\index{servo.\+h@{servo.\+h}!S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M@{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}}
\index{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M@{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}!servo.\+h@{servo.\+h}}
\subsubsection[{S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M~{\bf H\+W\+\_\+\+S\+E\+R\+V\+O\+\_\+\+N\+U\+M}}\label{servo_8h_a5b4b344e1037b7fa2fb65cb9f23b1e31}
\hypertarget{servo_8h_acd8242192c747155106d69a8dab670a6}{}\index{servo.\+h@{servo.\+h}!T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E@{T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E}}
\index{T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E@{T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E}!servo.\+h@{servo.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\+E\+S\+T\+\_\+\+C\+Y\+C\+L\+E\+\_\+\+T\+I\+M\+E~0}\label{servo_8h_acd8242192c747155106d69a8dab670a6}
\hypertarget{servo_8h_a4c9e0256311a127b25b74d6e289d35ed}{}\index{servo.\+h@{servo.\+h}!U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S@{U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S}}
\index{U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S@{U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S}!servo.\+h@{servo.\+h}}
\subsubsection[{U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define U\+S\+E\+\_\+\+C\+O\+M\+M\+A\+N\+D\+S~0}\label{servo_8h_a4c9e0256311a127b25b74d6e289d35ed}


\subsection{Function Documentation}
\hypertarget{servo_8h_a2a1bd6b05e410ad098c24e44a2793b88}{}\index{servo.\+h@{servo.\+h}!servo\+\_\+driver\+\_\+is\+\_\+active@{servo\+\_\+driver\+\_\+is\+\_\+active}}
\index{servo\+\_\+driver\+\_\+is\+\_\+active@{servo\+\_\+driver\+\_\+is\+\_\+active}!servo.\+h@{servo.\+h}}
\subsubsection[{servo\+\_\+driver\+\_\+is\+\_\+active(void)}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char servo\+\_\+driver\+\_\+is\+\_\+active (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{servo_8h_a2a1bd6b05e410ad098c24e44a2793b88}
\hypertarget{servo_8h_a32befddd5759ec16ab7964d78e2252c5}{}\index{servo.\+h@{servo.\+h}!servo\+\_\+init@{servo\+\_\+init}}
\index{servo\+\_\+init@{servo\+\_\+init}!servo.\+h@{servo.\+h}}
\subsubsection[{servo\+\_\+init(void)}]{\setlength{\rightskip}{0pt plus 5cm}void servo\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{servo_8h_a32befddd5759ec16ab7964d78e2252c5}
\hypertarget{servo_8h_aff30b246975c4fa2f36ab697e69ca3b8}{}\index{servo.\+h@{servo.\+h}!servo\+\_\+irq@{servo\+\_\+irq}}
\index{servo\+\_\+irq@{servo\+\_\+irq}!servo.\+h@{servo.\+h}}
\subsubsection[{servo\+\_\+irq(void)}]{\setlength{\rightskip}{0pt plus 5cm}void servo\+\_\+irq (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{servo_8h_aff30b246975c4fa2f36ab697e69ca3b8}
\hypertarget{servo_8h_a32699c625d5d389a417c90057232ff35}{}\index{servo.\+h@{servo.\+h}!servo\+\_\+stop\+\_\+driver@{servo\+\_\+stop\+\_\+driver}}
\index{servo\+\_\+stop\+\_\+driver@{servo\+\_\+stop\+\_\+driver}!servo.\+h@{servo.\+h}}
\subsubsection[{servo\+\_\+stop\+\_\+driver(void)}]{\setlength{\rightskip}{0pt plus 5cm}void servo\+\_\+stop\+\_\+driver (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{servo_8h_a32699c625d5d389a417c90057232ff35}


\subsection{Variable Documentation}
\hypertarget{servo_8h_ae5f20028c2a7c8e5db512d342e409d4b}{}\index{servo.\+h@{servo.\+h}!servos@{servos}}
\index{servos@{servos}!servo.\+h@{servo.\+h}}
\subsubsection[{servos}]{\setlength{\rightskip}{0pt plus 5cm}volatile {\bf S\+E\+R\+V\+O} servos\mbox{[}{\bf S\+E\+R\+V\+O\+S\+\_\+\+N\+U\+M}\mbox{]}}\label{servo_8h_ae5f20028c2a7c8e5db512d342e409d4b}
